#pragma once
#include <string>


class Update
{
public:

#define UPDATE_OK           0
#define UPDATE_ERROR        1
#define UPDATE_IDENTICAL   -1 

    int AutoUpdate(const std::string& url, const std::string& targetPath, const std::string& tmpPath);
};

